<?php $this->load->view('common/header'); ?>
</head>
<body>
	<!--<div class="container">-->
	<header id="header" class="row"></header>
	<section id="member-createrole" class="bg bg-bbs">
		<div class="container">
			<div class="row-fluid">
				<div class="span8 offset2">
					<form action="<?php echo site_url("home/createrole");?>" method="post" id="form_role" class="form-horizontal">
						<fieldset>
							<legend>在登录论坛之前需要为自己确定一个论坛名</legend>
							<?php if (isset($error)) {?>
							<div class="alert">
		  						<a class="close" data-dismiss="alert">×</a>
		  						<strong>错误</strong> <?php echo $error;?>
							</div>
							<?php }?>
							<div class="control-group">
								<label for="input01" class="control-label f24 fs pad-top12">论坛名</label>
								<div class="controls">
									<input type="text" class="input-larger" id="input01" name="rolename" value="" check-type="required" required-message="请输入论坛名" placeholder="可输入汉字、字母、数字、下划线">
								</div>
								<p class="p-s1"><i class="icon-warning-sign"></i>每个人只能有一个论坛名，且不可更改，论坛名将会显示在论坛右上角</p>
							</div>
							<div class="form-actions align-right">
								<button type="submit" class="btn btn-primary btn-big">完成注册</button>
							</div>
						</fieldset>
					</form>
				</div>
			</div>
		</div>		
	</section>
 <?php $this->load->view('common/footer'); ?>